package cn.liumouren.jzxd.service.impl;

import java.util.Collection;
import java.io.Serializable;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import cn.liumouren.jzxd.dao.LunbotuDao;
import cn.liumouren.jzxd.entity.Lunbotu;
import cn.liumouren.jzxd.service.LunbotuService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * (Lunbotu)表服务实现类
 *
 * @author daniel liu
 * @since 2021-03-09 22:54:46
 */
@Service("lunbotuService")
public class LunbotuServiceImpl extends ServiceImpl<LunbotuDao, Lunbotu> implements LunbotuService {
    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean save(Lunbotu lunbotu) {
        return super.save(lunbotu);
    }

    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean updateById(Lunbotu lunbotu) {
        return super.updateById(lunbotu);
    }

    @Override
    @Transactional(rollbackFor = Exception.class)
    public boolean removeByIds(Collection<? extends Serializable> idList) {
        return super.removeByIds(idList);
    }
}
